<?php
class News extends CI_Controller {
	public function __construct() {
		parent::__construct ();
	
	}
	public function get($name) {
		$name = str_replace ( "-", " ", $name );
		$lang = $this->lang->lang ();
		$data ['ob'] = $this->News_model->getNewsContentByNewsName ( $name, $lang );
		$this->template->write_view ( 'center', 'front_end/news/news_detail', $data, TRUE );
		$this->template->write_view ( 'left', 'front_end/product/product_left_two', null, TRUE );
		$this->template->write_view ( 'right', 'front_end/news/news_right', null, TRUE );
		$this->template->write_view ( 'menu_footer', 'front_end/layout/menu_footer', null, TRUE );
		$this->template->write_view ( 'menu', 'front_end/layout/menu', null, TRUE );
		$this->template->load ();
	}
}